import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
import { Document } from 'mongoose';

@Schema()
export class Question extends Document {
  @Prop()
  issues: string;

  @Prop()
  answer: string;

  @Prop()
  time: string;

  @Prop()
  userId: string;
}
